Skip to content

Fix graphite2 intermediate output path#785

Merged
johnml1135 merged 1 commit intomainfrom
Obj_slash_fix
Mar 25, 2026
Merged

Fix graphite2 intermediate output path#785
johnml1135 merged 1 commit intomainfrom
Obj_slash_fix

Conversation

@johnml1135
Copy link
Contributor

@johnml1135 johnml1135 commented Mar 25, 2026

Summary

Fix the native graphite2 intermediate output base path in Build/Windows.targets by adding the missing path separator after $(fwrt).

Problem

NativeIntDirBase was defined as $(fwrt)Obj\$(config-capital)\, which expands to a sibling folder such as FieldWorksObj\Debug\graphite2 instead of the intended repo-local path FieldWorks\Obj\Debug\graphite2.

This only affected graphite2 because it is the only consumer of NativeIntDirBase.

Why this matters

Writing graphite2 intermediates outside the repository Obj tree can leave stale graphite outputs behind:

  • repo cleanup and intermediate-output conventions expect native intermediates under FieldWorks\Obj
  • graphite2 artifacts in the sibling FieldWorksObj folder are easy to miss during normal cleanup
  • stale intermediates can be reused across rebuilds or configuration switches and make graphite behavior harder to reason about

Change

Update NativeIntDirBase to use:

$(fwrt)\Obj\$(config-capital)\

Validation

  • ./build.ps1
  • CI: Commit messages
  • CI: Whitespace check

This change is Reviewable

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the native graphite2 intermediate output base path so native intermediates land under the repo-local Obj tree rather than a sibling directory.

Changes:

  • Add the missing path separator after $(fwrt) in NativeIntDirBase to correctly point under $(fwrt)\Obj\...

@github-actions
Copy link

NUnit Tests

    1 files  ±0      1 suites  ±0   6m 12s ⏱️ -1s
4 074 tests ±0  4 003 ✅ ±0  71 💤 ±0  0 ❌ ±0 
4 083 runs  ±0  4 012 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit 8c7ac8d. ± Comparison against base commit 2565ac1.

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@jasonleenaylor reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on johnml1135).

@johnml1135 johnml1135 merged commit c450a55 into main Mar 25, 2026
9 of 11 checks passed
@johnml1135 johnml1135 deleted the Obj_slash_fix branch March 25, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants